﻿using UnityEngine;
using System.Collections;

namespace IMIForUnity
{

    public enum ErrorCode
    {
        NONE = -1,
        OK,
        ERROR,
        INITIALIZE_FAILED,
        DEVICE_NOT_FIND,
        OPEN_DEVICE_FAILED,
        INIT_GESTURE_FAILED,
        SET_DEPTH_FRAME_MODE_FAILED,
        SET_SKELETON_FRAME_MODE_FAILED,
        SET_DEPTH_SKELETON_FRAME_MODE_FAILED,
        SET_USER_SKELETON_FRAME_MODE_FAILED,
        SET_COLOR_FRAME_MODE_FAILED,
        OPEN_DEPTH_STEAM_FAILED,
        OPEN_DEPTH_SKELETON_STEAM_FAILED,
        OPEN_SKELETON_STEAM_FAILED,
        OPEN_USER_SKELETON_STEAM_FAILED,
        OPEN_COLOR_STEAM_FAILED,
        DEPTH_STREAM_NOT_OPEN,
        SKELETON_STREAM_NOT_OPEN,
        DEPTH_SKELETON_STREAM_NOT_OPEN,
        USER_SKELETON_STREAM_NOT_OPEN,
        COLOR_STREAM_NOT_OPEN,
        CLOSE_DEPTH_STREAM_FAILED,
        CLOSE_SKELETON_STREAM_FAILED,
        CLOSE_DEPTH_SKELETON_STREAM_FAILED,
        CLOSE_USER_SKELETON_STREAM_FAILED,
        CLOSE_COLOR_STREAM_FAILED,
        DEPTH_FRAME_DATA_NULL,
        SKELETON_FRAME_DATA_NULL,
        DEPTH_SKELETON_FRAME_DATA_NULL,
        USER_SKELETON_FRAME_DATA_NULL,
        COLOR_FRAME_DATA_NULL,
        READ_DEPTH_FRAME_FAILED,
        READ_SKELETON_FRAME_FAILED,
        READ_DEPTH_SKELETON_FRAME_FAILED,
        READ_USER_SKELETON_FRAME_FAILED,
        READ_COLOR_FRAME_FAILED,
        CLOSE_DEVICE_FAILED,
        RELEASE_DEVICE_LIST_FAILED,
        DESTROY_DEVICE_FAILED,
        INVALID_USER_ID,
        GET_DEVICEINFO_FAILED,
        DLL_NOT_FOUND,
        SYMBOL_NOT_FOUND,
    }
}
